/*
 * @Author: YNT 2501512800@qq.com
 * @Date: 2022-06-19 15:06:46
 * @LastEditors: YNT 2501512800@qq.com
 * @LastEditTime: 2023-03-13 08:36:59
 * @FilePath: \智慧社区的副本\src\router\modules\01property-serve.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import Layout from "@/layout";
export default {
  path: "/property-serve",
  component: Layout,
  roleid:3,
  name: "PropertyServe",
  meta: { title: "物业服务", icon: "dashboard" },
  redirect: "/property-serve/report-repair",
  children: [
    {
      path: "report-repair",
      name: "ReportRepair",
      component: () => import("@/views/property-serve/report-repair"),
      meta: { title: "报事报修" },
    },
    {
      path: "complaint-praise",
      name: "ComplaintPraise",
      component: () => import("@/views/property-serve/complaint-praise"),
      meta: { title: "投诉表扬" },
    },
    {
      path: "feedback",
      name: "Feedback",
      hidden: true,
      component: () => import("@/views/property-serve/feedback"),
      meta: { title: "意见反馈" },
    },
    {
      path: "disclosure",
      name: "Disclosure",
      hidden: true,
      component: () => import("@/views/property-serve/disclosure"),
      meta: { title: "物业资产资金" },
      children: [
        {
          path: "assets",
          name: "Assets",
          component: () => import("@/views/property-serve/disclosure/assets"),
          meta: { title: "物业资产公示" },
        },
        {
          path: "capital",
          name: "Capital",
          component: () => import("@/views/property-serve/disclosure/capital"),
          meta: { title: "物业资金公示" },
        },
      ],
    },
    {
      path: "visitor-passage",
      name: "VisitorPassage",
      component: () => import("@/views/property-serve/visitor-passage"),
      meta: { title: "访客通行" },
    },
    {
      path: "prevention",
      component: () => import("@/views/property-serve/prevention"), // Parent router-view
      name: "Prevention",
      meta: { title: "社会应急防控" },
      hidden: true,
      children: [
        {
          path: "system",
          component: () => import("@/views/property-serve/prevention/system"),
          name: "PreventionSystem",
          meta: { title: "社区应急防控系统" },
        },
        {
          path: "emergency",
          component: () =>
            import("@/views/property-serve/prevention/emergency"),
          name: "preventionEmergency",
          meta: { title: "社区突发应急防控" },
        },
      ],
    },
  ],
};
